using System;
using System.Collections.Generic;
using System.Text;
using FluentNHibernate.Mapping;
using Water.Model;

namespace Water.Data.Repositories.Mappings
{


    public class CheckMemterMap : ClassMap<CheckMemter>
    {

        public CheckMemterMap()
        {
            Table("Tbt_CheckMemter");
            LazyLoad();
            Id(x => x.MRNO).GeneratedBy.Assigned().Column("MRNO");
            Map(x => x.CheckMeter).Column("CheckMeter").Not.Nullable();
            Map(x => x.CheckMemo).Column("CheckMemo");
            Map(x => x.CheckEmp).Column("CheckEmp").Not.Nullable();
            Map(x => x.CreateDt).Column("CreateDt").ReadOnly();
        }
    }
}
